package demo03;

public class Film {
    public Film() {
    }
    public Film(String fName,String isOnline,Double score,Double price) {
        this.fName=fName;
        this.isOnline=isOnline;
        this.score=score;
        this.price=price;
    }

    private int fId;
    private String fName;
    private String isOnline;
    private double score;
    private double price;

    public int getfId() {
        return fId;
    }

    public void setfId(int fId) {
        this.fId = fId;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Film{" +
                "fId=" + fId +
                ", fName='" + fName + '\'' +
                ", isOnline='" + isOnline + '\'' +
                ", score=" + score +
                ", price=" + price +
                '}';
    }
}
